<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>VideoShop - 视频详情</title>
    <link rel="stylesheet" type="text/css" href="indexStyle.css">
    <style>
        main {
            width: 80%;
            margin: 20px auto;
            text-align: center;
        }
        .video-container {
            position: relative;
            padding-top: 56.25%;
            margin-bottom: 20px;
        }
        .video-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        .buttons {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }
        .buttons .action-button {
            margin: 0 10px;
            text-align: center;
        }
        .buttons img {
            width: 40px;
            height: 40px;
            cursor: pointer;
        }
        .description {
            text-align: left;
            margin-bottom: 20px;
        }
        .description button {
            display: inline-block;
            padding: 10px;
            cursor: pointer;
            background-color: #007BFF;
            color: #fff;
            border: none;
            border-radius: 5px;
        }
        .description button:after {
            content: '▼';
            margin-left: 5px;
            transition: transform 0.2s;
        }
        .description.collapsed button:after {
            transform: rotate(-90deg);
        }
        .description-content {
            display: none;
            margin-top: 10px;
            border: 1px solid #ccc;
            padding: 10px;
            border-radius: 5px;
            background-color: #f9f9f9;
        }
        .comments {
            text-align: left;
            border-top: 2px solid #ccc;
            padding-top: 20px;
            margin-top: 20px;
            margin-bottom: 50px;
        }
        .comment {
            border-bottom: 1px solid #ccc;
            padding: 10px 0;
        }
        .comment-input {
            position: fixed;
            bottom: 0;
            width: 100%;
            background: #f9f9f9;
            padding: 10px;
            box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .comment-input input {
            width: 80%;
            padding: 10px;
            margin-right: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        .comment-input button {
            padding: 10px 20px;
            background-color: #007BFF;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        .comment-input button:hover {
            background-color: #0056b3;
        }
    </style>
    <script>
        function getVideoTitle() {
            const params = new URLSearchParams(window.location.search);
            return params.get('title') || '视频详情';
        }

        window.onload = function() {
            document.getElementById('videoTitle').innerText = getVideoTitle();
            const toggleButton = document.getElementById('toggleDescription');
            toggleButton.onclick = function() {
                const content = document.getElementById('descriptionContent');
                const description = document.querySelector('.description');
                content.style.display = content.style.display === 'block' ? 'none' : 'block';
                description.classList.toggle('collapsed');
            };
            const buttons = document.querySelectorAll('.action-button');
            buttons.forEach(button => {
                button.onclick = function() {
                    const count = this.querySelector('.count');
                    const img = this.querySelector('img');
                    let currentCount = parseInt(count.innerText);
                    if (this.classList.contains('active')) {
                        count.innerText = currentCount - 1;
                        this.classList.remove('active');
                        img.src = img.src.replace('2.png', '1.png');
                    } else {
                        count.innerText = currentCount + 1;
                        this.classList.add('active');
                        img.src = img.src.replace('1.png', '2.png');
                    }
                }
            });
        };

        function addComment() {
            const commentInput = document.getElementById('commentInput');
            const commentText = commentInput.value.trim();
            if (commentText) {
                const commentList = document.getElementById('commentList');
                const newComment = document.createElement('div');
                newComment.className = 'comment';
                newComment.innerText = commentText;
                commentList.appendChild(newComment);
                commentInput.value = '';
            }
        }
    </script>
</head>
<body>
    <header>
        <table class="headerTable">
            <tr>
                <td>
                    <img src="img/logo.png" alt="VideoShop Logo" onclick="location.href='index.html'" class="logo">
                </td>
                <td>
                    <h1 onclick="location.href='index.html'">VideoShop</h1>
                </td>
                <td>
                    <form action="/search" method="get">
                        <input type="search" placeholder="请输入视频名称">
                        <input type="image" src="img/search.png">
                    </form>
                </td>
                <td class="menuTd">
                    <div class="menuTitle">分区</div>
                    <ul class="submenu">
                        <li onclick="location.href='games.html'">游戏</li>
                        <li onclick="location.href='movies.html'">电影</li>
                        <li onclick="location.href='anime.html'">动漫</li>
                    </ul>
                </td>
                <td>
                    <button onclick="location.href='upload.html'" class="uploadButton">上传视频</button>
                </td>
            </tr>
        </table>
    </header>
    <main>
        <h2 id="videoTitle">视频详情</h2>
        <div class="video-container">
            <video src="video.mp4" controls></video>
        </div>
        <div class="buttons">
            <div class="action-button">
                <img src="img/点赞1.png" alt="点赞">
                <div class="count">0</div>
            </div>
            <div class="action-button">
                <img src="img/收藏1.png" alt="收藏">
                <div class="count">0</div>
            </div>
            <div class="action-button">
                <img src="img/转发1.png" alt="转发">
                <div class="count">0</div>
            </div>
        </div>
        <div class="description collapsed">
            <button id="toggleDescription">简介</button>
            <div id="descriptionContent" class="description-content">
                <p>这是视频的详细描述。可以包含关于视频的背景信息、制作者信息、拍摄花絮等内容。</p>
            </div>
        </div>
        <div class="comments">
            <h3>评论区</h3>
            <div id="commentList">
                <div class="comment">这真是个好视频！</div>
                <div class="comment">非常有用，谢谢分享！</div>
                <div class="comment">我非常喜欢这个内容。</div>
            </div>
        </div>
    </main>
    <div class="comment-input">
        <input type="text" id="commentInput" placeholder="写下你的评论...">
        <button onclick="addComment()">发送</button>
    </div>
</body>
</html>
```

以上修改后的代码将初始图片设置为`点赞1.jpg`、`收藏1.jpg`、`转发1.jpg`，并在用户点击按钮时，根据当前状态切换到相应的`2.jpg`图片。